﻿<UserControl x:Class="DeliciousFeederDemo.AddBookmark"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:userControl="clr-namespace:DeliciousFeederDemo.UserControls"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="400">
    <Grid>
        <userControl:MenuUserControl />

        <Grid Height="300" Margin="5,43,5,5">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>

            <userControl:NotificationControl Grid.Row="0" HorizontalAlignment="Center"  Grid.ColumnSpan="2"  NotificationText="TESt" x:Name="UserNotification" />

            <Label Grid.Row="1" Grid.Column="0" Content="URL :"/>
            <TextBox Grid.Row="1" Grid.Column="1" Text="http://google.com" x:Name="BookmarkTextBox" Width="200" Height="25" FontStyle="Italic"/>

            <Label Grid.Row="2" Grid.Column="0" Content="Title :"/>
            <TextBox Grid.Row="2" Grid.Column="1" Text="Title" x:Name="TitleTextBox" Width="200" Height="25" FontStyle="Italic"/>
            <Label Grid.Row="3" Grid.Column="0" Content="Description :"/>
            <TextBox Grid.Row="3" Grid.Column="1" x:Name="DescriptionTextBox"  Width="200" Height="50" TextWrapping="WrapWithOverflow" />
            <Label Grid.Row="4" Grid.Column="0" Content="Tags : (seperated by commas)" />
            <TextBox Grid.Row="4" Grid.Column="1" x:Name="TagTextBox" Width="200" Height="50" TextWrapping="WrapWithOverflow" />
            <Button Grid.Row="5" Grid.Column="1" Content="Add" Name="AddBookmarkButton" Width="75" Height="20" Margin="5,3,5,5" Click="AddBookmarkButton_Click"/>

        </Grid>
    </Grid>
</UserControl>
